package com.sunwayworld.basemodule.rm.train.exampaper.service;


import com.sunwayworld.basemodule.rm.train.exam.bean.LimsCoreExamBean;
import com.sunwayworld.basemodule.rm.train.exampaper.bean.LimsCoreExamPaperBean;
import com.sunwayworld.framework.data.page.Page;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.activatable.service.GenericActivatableService;
import com.sunwayworld.framework.support.base.service.GenericService;

public interface LimsCoreExamPaperService extends GenericService<LimsCoreExamPaperBean, Long>, GenericActivatableService<LimsCoreExamPaperBean, Long> {

    LimsCoreExamPaperBean startExam(RestJsonWrapperBean wrapper);

    void endExam(RestJsonWrapperBean wrapper);
    
    void generateExamPaper(Long examId, Long trainId, String userId, String userName);

    void submit(RestJsonWrapperBean wrapper);

    void updateExamPaperUser(RestJsonWrapperBean wrapper);

    Page<LimsCoreExamBean> searchExamPaperCode(RestJsonWrapperBean wrapperBean);
}